using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("DbfRecord")]
	public class DbfRecord : MonoClass
	{
		public int m_ID => method_2<int>("m_ID");

		public int ID => method_11<int>("get_ID", Array.Empty<object>());

		public DbfRecord(IntPtr address, string className)
			: base(address, className)
		{
		}

		public DbfRecord(IntPtr address)
			: this(address, "DbfRecord")
		{
		}

		public void SetID(int id)
		{
			method_8("SetID", id);
		}

		public object GetVar(string varName)
		{
			return method_14<object>("GetVar", new object[1] { varName });
		}

		public void SetVar(string varName, object value)
		{
			method_8("SetVar", varName, value);
		}

		public Type GetVarType(string varName)
		{
			return method_14<Type>("GetVarType", new object[1] { varName });
		}

		public void StripUnusedLocales()
		{
			method_8("StripUnusedLocales");
		}
	}
}
